package com.cbl.v.ssczs;

import android.app.Application;
import android.content.Context;

import org.xutils.x;

/**
 * Created by 王凡 on 2017/8/21.
 */

public class MyApplication extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = this;

        /**
         * xUtils的初始化
         */
        x.Ext.init(this);//xUtils初始化
        x.Ext.setDebug(false);// 是否输出debug日志*
    }


    public static Context getContext() {
        return context;
    }
}
